package edu.wong.pro.dao;

/**
 * AbstractNews entity provides the base persistence definition of the News
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractNews implements java.io.Serializable {

	// Fields

	private Integer newsId;
	private Integer memId;
	private String newsTheme;
	private String newsContent;
	private String newsDate;
	private String picture;

	// Constructors

	/** default constructor */
	public AbstractNews() {
	}

	/** full constructor */
	public AbstractNews(Integer memId, String newsTheme, String newsContent,
			String newsDate, String picture) {
		this.memId = memId;
		this.newsTheme = newsTheme;
		this.newsContent = newsContent;
		this.newsDate = newsDate;
		this.picture = picture;
	}

	// Property accessors

	public Integer getNewsId() {
		return this.newsId;
	}

	public void setNewsId(Integer newsId) {
		this.newsId = newsId;
	}

	public Integer getMemId() {
		return this.memId;
	}

	public void setMemId(Integer memId) {
		this.memId = memId;
	}

	public String getNewsTheme() {
		return this.newsTheme;
	}

	public void setNewsTheme(String newsTheme) {
		this.newsTheme = newsTheme;
	}

	public String getNewsContent() {
		return this.newsContent;
	}

	public void setNewsContent(String newsContent) {
		this.newsContent = newsContent;
	}

	public String getNewsDate() {
		return this.newsDate;
	}

	public void setNewsDate(String newsDate) {
		this.newsDate = newsDate;
	}

	public String getPicture() {
		return this.picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

}